﻿using System;

namespace PacketRush.Core
{
    /// <summary>
    /// Describes a network event.
    /// </summary>
    public class NetEventArgs : EventArgs
    {
        /// <summary>
        /// The id of the connection associated to the event.
        /// </summary>
        public int ConnectionId { get; private set; }

        /// <summary>
        /// Create an instance of <c>NetEventArgs</c>.
        /// </summary>
        /// <param name="netConnectionId">The id of the connection associated to the event.</param>
        public NetEventArgs(int netConnectionId)
        {
            ConnectionId = netConnectionId;
        }
    }
}
